package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/28.
 */

public class OrderListBean {


    /**
     * code : 200
     * message : 数据加载成功
     * data : [{"id":68,"member_id":8,"ordersn":"2017062809143753604","status":1,"create_time":1498612481,"orderslist":[{"orderslist_id":96,"goods_title":"asdlasndlask","num":1,"picurl":"/uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","goods_attr":"asdjas","goods_price":"0.01"},{"orderslist_id":99,"goods_title":"asdlasndlask","num":1,"picurl":"/uploads/image/20170620/b587a48c48c486bce029b539673527e8.jpg","goods_attr":"asdjas","goods_price":"80.00"}],"url":""}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 68
         * member_id : 8
         * ordersn : 2017062809143753604
         * status : 1
         * create_time : 1498612481
         * orderslist : [{"orderslist_id":96,"goods_title":"asdlasndlask","num":1,"picurl":"/uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","goods_attr":"asdjas","goods_price":"0.01"},{"orderslist_id":99,"goods_title":"asdlasndlask","num":1,"picurl":"/uploads/image/20170620/b587a48c48c486bce029b539673527e8.jpg","goods_attr":"asdjas","goods_price":"80.00"}]
         * url :
         */

        private int id;
        private int member_id;
        private String ordersn;
        private int status;
        private int create_time;
        private String url;
        private List<OrderslistBean> orderslist;

        public String getPaytype() {
            return paytype;
        }

        public void setPaytype(String paytype) {
            this.paytype = paytype;
        }

        private String paytype;

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        private String total;


        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getMember_id() {
            return member_id;
        }

        public void setMember_id(int member_id) {
            this.member_id = member_id;
        }

        public String getOrdersn() {
            return ordersn;
        }

        public void setOrdersn(String ordersn) {
            this.ordersn = ordersn;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public List<OrderslistBean> getOrderslist() {
            return orderslist;
        }

        public void setOrderslist(List<OrderslistBean> orderslist) {
            this.orderslist = orderslist;
        }

        public static class OrderslistBean {
            /**
             * orderslist_id : 96
             * goods_title : asdlasndlask
             * num : 1
             * picurl : /uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg
             * goods_attr : asdjas
             * goods_price : 0.01
             */

            private int orderslist_id;
            private String goods_title;
            private int num;
            private String picurl;
            private String goods_attr;
            private String goods_price;

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            private String sales;
            public int getOrderslist_id() {
                return orderslist_id;
            }

            public void setOrderslist_id(int orderslist_id) {
                this.orderslist_id = orderslist_id;
            }

            public String getGoods_title() {
                return goods_title;
            }

            public void setGoods_title(String goods_title) {
                this.goods_title = goods_title;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getGoods_attr() {
                return goods_attr;
            }

            public void setGoods_attr(String goods_attr) {
                this.goods_attr = goods_attr;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }
        }
    }
}
